home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part II.srd / Part II.srd.rsrc / PICT_60.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  146KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | poster | reckoner | sky | windowpane
OCR: II-56 Mops General Reference change to Limit-1 is So that we can op bounds check on an index with single CHK machine instruction The reason we need the offset from the data to the class pointer relates to multiple inheritance In Neon. the class pointer immediately preceded the object's data. But with multiple inheritance, we will have the ivars for the various superclasses following each other If a method in one ot the superc lasses is called, and it needs the class pointer. it look just before its first iyar, since that isn't actually the start of the object's data any more So what we op put 2-byte off set to the class pointer befoieach group of ivars belonging to each superclass Now for the reason we use C as the offset to the indexed area header for non-indexed objects When doing 'index ...